enum UserRole {
  admin,
  endUser,
}

extension UserRoleX on UserRole {
  bool get isAdmin => this == UserRole.admin;

  bool get isEndUser => this == UserRole.endUser;
}
